package com.syt.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: xxx
 * @Date: 2023/2/26 20:23
 * @Description: 订单服务
 */
@EnableTransactionManagement
@ComponentScan("com.syt")
//开启nacos
@EnableDiscoveryClient
@EnableFeignClients("com.syt.client")
@SpringBootApplication()
public class ServiceOrderApplication {

    public static void main(String[] args) {
        System.out.println("医院订单服务：8206");
        SpringApplication.run(ServiceOrderApplication.class,args);
    }
}
